import Mock from 'mockjs';

// 
export const getInfo = () => {
  return new Promise((resolve, reject) => {
    const data = Mock.mock({
      "msg": "操作成功",
      "code": 200,
      "permissions": [
        "*:*:*"
      ],
      "roles": [
        "admin"
      ],
      "user": {
        "delFlag": "0",
        "status": "0",
        "createBy": "admin",
        "createTime": "2025-02-28T08:52:10.000Z",
        "updateBy": "",
        "updateTime": "2025-04-24T02:57:37.000Z",
        "remark": "管理员",
        "userId": 1,
        "deptId": 103,
        "userName": "admin",
        "nickName": "nest-admin",
        "userType": "00",
        "email": "ry@163.com",
        "phonenumber": "15888888888",
        "sex": "1",
        "avatar": "",
        "password": "\$2b\$10$d4Z9Iq.v9J4pjX55I9mzRuPHsOMKLupOqxlb/UfbD9oYsYxd5ezeS",
        "loginIp": "::1",
        "loginDate": "2025-04-24T02:57:38.000Z",
        "dept": {
          "delFlag": "0",
          "status": "0",
          "createBy": "admin",
          "createTime": "2025-02-28T08:52:10.000Z",
          "updateBy": "",
          "updateTime": null,
          "remark": null,
          "deptId": 103,
          "parentId": 101,
          "ancestors": "0,100,101",
          "deptName": "研发部门",
          "orderNum": 1,
          "leader": "nest-admin",
          "phone": "15888888888",
          "email": "ry@qq.com"
        },
        "roles": [
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "超级管理员",
            "roleId": 1,
            "roleName": "超级管理员",
            "roleSort": 1,
            "roleKey": "admin",
            "dataScope": "1",
            "menuCheckStrictly": true,
            "deptCheckStrictly": true
          }
        ],
        "posts": [
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "postId": 1,
            "postCode": "ceo",
            "postName": "董事长",
            "postSort": 1
          }
        ],
        "deptName": "研发部门"
      }
    });
    // 模拟异步返回数据
    setTimeout(() => {
      resolve(data); // 返回模拟数据
    }, 1000); // 1秒钟后返回数据
  })
}

// 
export const getRouters = () => {
  return new Promise((resolve, reject) => {
    const data = Mock.mock(
      {
        "code": 200,
        "msg": "操作成功",
        "data": [
          {
            "hidden": true,
            "name": "System",
            "path": "/system",
            "component": "Layout",
            "query": "",
            "meta": {
              "title": "系统管理",
              "icon": "system",
              "noCache": false
            },
            "alwaysShow": true,
            "redirect": "noRedirect",
            "children": [
              {
                "hidden": true,
                "name": "User",
                "path": "user",
                "component": "system/user/index",
                "query": "",
                "meta": {
                  "title": "用户管理",
                  "icon": "user",
                  "noCache": false
                }
              },
              {
                "hidden": true,
                "name": "Role",
                "path": "role",
                "component": "system/role/index",
                "query": "",
                "meta": {
                  "title": "角色管理",
                  "icon": "peoples",
                  "noCache": false
                }
              },
              {
                "hidden": false,
                "name": "Menu",
                "path": "menu",
                "component": "system/menu/index",
                "query": "",
                "meta": {
                  "title": "菜单管理",
                  "icon": "tree-table",
                  "noCache": false
                }
              },
              {
                "hidden": true,
                "name": "Dept",
                "path": "dept",
                "component": "system/dept/index",
                "query": "",
                "meta": {
                  "title": "部门管理",
                  "icon": "tree",
                  "noCache": false
                }
              },
              {
                "hidden": true,
                "name": "Post",
                "path": "post",
                "component": "system/post/index",
                "query": "",
                "meta": {
                  "title": "岗位管理",
                  "icon": "post",
                  "noCache": false
                }
              },
              {
                "hidden": true,
                "name": "Dict",
                "path": "dict",
                "component": "system/dict/index",
                "query": "",
                "meta": {
                  "title": "字典管理",
                  "icon": "dict",
                  "noCache": false
                }
              },
              {
                "hidden": false,
                "name": "Config",
                "path": "config",
                "component": "system/config/index",
                "query": "",
                "meta": {
                  "title": "参数设置",
                  "icon": "edit",
                  "noCache": false
                }
              },
              {
                "hidden": true,
                "name": "Notice",
                "path": "notice",
                "component": "system/notice/index",
                "query": "",
                "meta": {
                  "title": "通知公告",
                  "icon": "message",
                  "noCache": false
                }
              },
              {
                "hidden": true,
                "name": "Log",
                "path": "log",
                "component": "ParentView",
                "query": "",
                "meta": {
                  "title": "日志管理",
                  "icon": "log",
                  "noCache": false
                },
                "alwaysShow": true,
                "redirect": "noRedirect",
                "children": [
                  {
                    "hidden": false,
                    "name": "Operlog",
                    "path": "operlog",
                    "component": "monitor/operlog/index",
                    "query": "",
                    "meta": {
                      "title": "操作日志",
                      "icon": "form",
                      "noCache": false
                    }
                  },
                  {
                    "hidden": false,
                    "name": "Logininfor",
                    "path": "logininfor",
                    "component": "monitor/logininfor/index",
                    "query": "",
                    "meta": {
                      "title": "登录日志",
                      "icon": "logininfor",
                      "noCache": false
                    }
                  }
                ]
              }
            ]
          },
          {
            "hidden": true,
            "name": "Monitor",
            "path": "/monitor",
            "component": "Layout",
            "query": "",
            "meta": {
              "title": "系统监控",
              "icon": "monitor",
              "noCache": false
            },
            "alwaysShow": true,
            "redirect": "noRedirect",
            "children": [
              {
                "hidden": false,
                "name": "Online",
                "path": "online",
                "component": "monitor/online/index",
                "query": "",
                "meta": {
                  "title": "在线用户",
                  "icon": "online",
                  "noCache": false
                }
              },
              {
                "hidden": false,
                "name": "Job",
                "path": "job",
                "component": "monitor/job/index",
                "query": "",
                "meta": {
                  "title": "定时任务",
                  "icon": "job",
                  "noCache": false
                }
              },
              {
                "hidden": false,
                "name": "Server",
                "path": "server",
                "component": "monitor/server/index",
                "query": "",
                "meta": {
                  "title": "服务监控",
                  "icon": "server",
                  "noCache": false
                }
              },
              {
                "hidden": false,
                "name": "Cache",
                "path": "cache",
                "component": "monitor/cache/index",
                "query": "",
                "meta": {
                  "title": "缓存监控",
                  "icon": "redis",
                  "noCache": false
                }
              },
              {
                "hidden": false,
                "name": "Cachelist",
                "path": "cacheList",
                "component": "monitor/cache/list",
                "query": "",
                "meta": {
                  "title": "缓存列表",
                  "icon": "redis-list",
                  "noCache": false
                }
              }
            ]
          },
          {
            "hidden": true,
            "name": "Tool",
            "path": "/tool",
            "component": "Layout",
            "query": "",
            "meta": {
              "title": "系统工具",
              "icon": "tool",
              "noCache": false
            },
            "alwaysShow": true,
            "redirect": "noRedirect",
            "children": [
              {
                "hidden": false,
                "name": "Build",
                "path": "build",
                "component": "tool/build/index",
                "query": "",
                "meta": {
                  "title": "表单构建",
                  "icon": "build",
                  "noCache": false
                }
              },
              {
                "hidden": false,
                "name": "Gen",
                "path": "gen",
                "component": "tool/gen/index",
                "query": "",
                "meta": {
                  "title": "代码生成",
                  "icon": "code",
                  "noCache": false
                }
              },
              {
                "hidden": false,
                "name": "Swagger",
                "path": "swagger",
                "component": "tool/swagger/index",
                "query": "",
                "meta": {
                  "title": "系统接口",
                  "icon": "swagger",
                  "noCache": false
                }
              }
            ]
          },
          {
            "hidden": true,
            "name": "Https://nest-admin.dooring.vip",
            "path": "https://nest-admin.dooring.vip",
            "component": "Layout",
            "query": "",
            "meta": {
              "title": "nest-admin官网",
              "icon": "guide",
              "noCache": false
            }
          },
          /* 系统配置 */
          {
            "hidden": false,
            "name": "系统配置",
            "path": "/systemSetting",
            "component": "Layout",
            "query": "",
            "meta": {
              "title": "系统配置",
              "icon": "tool",
              "noCache": false
            },
            "alwaysShow": true,
            "redirect": "noRedirect",
            "children": [
              {
                "hidden": false,
                "name": "mining",
                "path": "mining",
                "component": "systemSetting/mining/index",
                "query": "",
                "meta": {
                  "title": "挖矿总数",
                  "icon": "build",
                  "noCache": false
                }
              },
              {
                "hidden": false,
                "name": "configInfo",
                "path": "configInfo",
                "component": "systemSetting/configInfo/index",
                "query": "",
                "meta": {
                  "title": "配置信息",
                  "icon": "code",
                  "noCache": false
                }
              },
              {
                "hidden": false,
                "name": "airdrop",
                "path": "airdrop",
                "component": "systemSetting/airdrop/index",
                "query": "",
                "meta": {
                  "title": "空投配置",
                  "icon": "code",
                  "noCache": false
                }
              },
              {
                "hidden": false,
                "name": "inviteCode",
                "path": "inviteCode",
                "component": "systemSetting/inviteCode/index",
                "query": "",
                "meta": {
                  "title": "邀请码配置",
                  "icon": "code",
                  "noCache": false
                }
              },
              // 
              {
                "hidden": false,
                "name": "goalkeeper",
                "path": "goalkeeper",
                "component": "systemSetting/goalkeeper/index",
                "query": "",
                "meta": {
                  "title": "108、24将配置",
                  "icon": "code",
                  "noCache": false
                }
              },
            ]
          },
        ]
      }
    );
    // 模拟异步返回数据
    setTimeout(() => {
      resolve(data); // 返回模拟数据
    }, 1000); // 1秒钟后返回数据
  })
}
// 
export const listMenu = () => {
  return new Promise((resolve, reject) => {
    const data = Mock.mock(
      {
        "code": 200,
        "msg": "操作成功",
        "data": [
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "系统管理目录",
            "menuId": 1,
            "menuName": "系统管理",
            "parentId": 0,
            "orderNum": 1,
            "path": "system",
            "component": null,
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "M",
            "perms": "",
            "icon": "system"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "表单构建菜单",
            "menuId": 115,
            "menuName": "表单构建",
            "parentId": 3,
            "orderNum": 1,
            "path": "build",
            "component": "tool/build/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "C",
            "perms": "tool:build:list",
            "icon": "build"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "操作日志菜单",
            "menuId": 500,
            "menuName": "操作日志",
            "parentId": 108,
            "orderNum": 1,
            "path": "operlog",
            "component": "monitor/operlog/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "C",
            "perms": "monitor:operlog:list",
            "icon": "form"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1000,
            "menuName": "用户查询",
            "parentId": 100,
            "orderNum": 1,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:user:query",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": "2025-04-24T03:27:51.000Z",
            "remark": "用户管理菜单",
            "menuId": 100,
            "menuName": "用户管理",
            "parentId": 1,
            "orderNum": 1,
            "path": "user",
            "component": "system/user/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "1",
            "menuType": "C",
            "perms": "system:user:list",
            "icon": "user"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1020,
            "menuName": "岗位查询",
            "parentId": 104,
            "orderNum": 1,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:post:query",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1035,
            "menuName": "公告查询",
            "parentId": 107,
            "orderNum": 1,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:notice:query",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1055,
            "menuName": "生成查询",
            "parentId": 116,
            "orderNum": 1,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "tool:gen:query",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1049,
            "menuName": "任务查询",
            "parentId": 110,
            "orderNum": 1,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:job:query",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1030,
            "menuName": "参数查询",
            "parentId": 106,
            "orderNum": 1,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:config:query",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1007,
            "menuName": "角色查询",
            "parentId": 101,
            "orderNum": 1,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:role:query",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1046,
            "menuName": "在线查询",
            "parentId": 109,
            "orderNum": 1,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:online:query",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1016,
            "menuName": "部门查询",
            "parentId": 103,
            "orderNum": 1,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:dept:query",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "在线用户菜单",
            "menuId": 109,
            "menuName": "在线用户",
            "parentId": 2,
            "orderNum": 1,
            "path": "online",
            "component": "monitor/online/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "C",
            "perms": "monitor:online:list",
            "icon": "online"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1025,
            "menuName": "字典查询",
            "parentId": 105,
            "orderNum": 1,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:dict:query",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1042,
            "menuName": "登录查询",
            "parentId": 501,
            "orderNum": 1,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:logininfor:query",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1012,
            "menuName": "菜单查询",
            "parentId": 102,
            "orderNum": 1,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:menu:query",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1039,
            "menuName": "操作查询",
            "parentId": 500,
            "orderNum": 1,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:operlog:query",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": "2025-04-23T12:43:57.000Z",
            "remark": "系统监控目录",
            "menuId": 2,
            "menuName": "系统监控",
            "parentId": 0,
            "orderNum": 2,
            "path": "monitor",
            "component": null,
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "1",
            "menuType": "M",
            "perms": "",
            "icon": "monitor"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1013,
            "menuName": "菜单新增",
            "parentId": 102,
            "orderNum": 2,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:menu:add",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1056,
            "menuName": "生成修改",
            "parentId": 116,
            "orderNum": 2,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "tool:gen:edit",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": "2025-04-24T03:24:51.000Z",
            "remark": "角色管理菜单",
            "menuId": 101,
            "menuName": "角色管理",
            "parentId": 1,
            "orderNum": 2,
            "path": "role",
            "component": "system/role/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "1",
            "menuType": "C",
            "perms": "system:role:list",
            "icon": "peoples"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1017,
            "menuName": "部门新增",
            "parentId": 103,
            "orderNum": 2,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:dept:add",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1047,
            "menuName": "批量强退",
            "parentId": 109,
            "orderNum": 2,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:online:batchLogout",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1050,
            "menuName": "任务新增",
            "parentId": 110,
            "orderNum": 2,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:job:add",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1043,
            "menuName": "登录删除",
            "parentId": 501,
            "orderNum": 2,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:logininfor:remove",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "定时任务菜单",
            "menuId": 110,
            "menuName": "定时任务",
            "parentId": 2,
            "orderNum": 2,
            "path": "job",
            "component": "monitor/job/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "C",
            "perms": "monitor:job:list",
            "icon": "job"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1040,
            "menuName": "操作删除",
            "parentId": 500,
            "orderNum": 2,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:operlog:remove",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1036,
            "menuName": "公告新增",
            "parentId": 107,
            "orderNum": 2,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:notice:add",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1026,
            "menuName": "字典新增",
            "parentId": 105,
            "orderNum": 2,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:dict:add",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1001,
            "menuName": "用户新增",
            "parentId": 100,
            "orderNum": 2,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:user:add",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1008,
            "menuName": "角色新增",
            "parentId": 101,
            "orderNum": 2,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:role:add",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "代码生成菜单",
            "menuId": 116,
            "menuName": "代码生成",
            "parentId": 3,
            "orderNum": 2,
            "path": "gen",
            "component": "tool/gen/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "C",
            "perms": "tool:gen:list",
            "icon": "code"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "登录日志菜单",
            "menuId": 501,
            "menuName": "登录日志",
            "parentId": 108,
            "orderNum": 2,
            "path": "logininfor",
            "component": "monitor/logininfor/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "C",
            "perms": "monitor:logininfor:list",
            "icon": "logininfor"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1021,
            "menuName": "岗位新增",
            "parentId": 104,
            "orderNum": 2,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:post:add",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1031,
            "menuName": "参数新增",
            "parentId": 106,
            "orderNum": 2,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:config:add",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": "2025-04-24T03:24:08.000Z",
            "remark": "系统工具目录",
            "menuId": 3,
            "menuName": "系统工具",
            "parentId": 0,
            "orderNum": 3,
            "path": "tool",
            "component": null,
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "1",
            "menuType": "M",
            "perms": "",
            "icon": "tool"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "菜单管理菜单",
            "menuId": 102,
            "menuName": "菜单管理",
            "parentId": 1,
            "orderNum": 3,
            "path": "menu",
            "component": "system/menu/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "C",
            "perms": "system:menu:list",
            "icon": "tree-table"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1002,
            "menuName": "用户修改",
            "parentId": 100,
            "orderNum": 3,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:user:edit",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1009,
            "menuName": "角色修改",
            "parentId": 101,
            "orderNum": 3,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:role:edit",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1014,
            "menuName": "菜单修改",
            "parentId": 102,
            "orderNum": 3,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:menu:edit",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1018,
            "menuName": "部门修改",
            "parentId": 103,
            "orderNum": 3,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:dept:edit",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "系统接口菜单",
            "menuId": 117,
            "menuName": "系统接口",
            "parentId": 3,
            "orderNum": 3,
            "path": "swagger",
            "component": "tool/swagger/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "C",
            "perms": "tool:swagger:list",
            "icon": "swagger"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1022,
            "menuName": "岗位修改",
            "parentId": 104,
            "orderNum": 3,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:post:edit",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1027,
            "menuName": "字典修改",
            "parentId": 105,
            "orderNum": 3,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:dict:edit",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1032,
            "menuName": "参数修改",
            "parentId": 106,
            "orderNum": 3,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:config:edit",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1037,
            "menuName": "公告修改",
            "parentId": 107,
            "orderNum": 3,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:notice:edit",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1041,
            "menuName": "日志导出",
            "parentId": 500,
            "orderNum": 3,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:operlog:export",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1044,
            "menuName": "日志导出",
            "parentId": 501,
            "orderNum": 3,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:logininfor:export",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1048,
            "menuName": "单条强退",
            "parentId": 109,
            "orderNum": 3,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:online:forceLogout",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1051,
            "menuName": "任务修改",
            "parentId": 110,
            "orderNum": 3,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:job:edit",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1057,
            "menuName": "生成删除",
            "parentId": 116,
            "orderNum": 3,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "tool:gen:remove",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1015,
            "menuName": "菜单删除",
            "parentId": 102,
            "orderNum": 4,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:menu:remove",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1033,
            "menuName": "参数删除",
            "parentId": 106,
            "orderNum": 4,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:config:remove",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1003,
            "menuName": "用户删除",
            "parentId": 100,
            "orderNum": 4,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:user:remove",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1023,
            "menuName": "岗位删除",
            "parentId": 104,
            "orderNum": 4,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:post:remove",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1038,
            "menuName": "公告删除",
            "parentId": 107,
            "orderNum": 4,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:notice:remove",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "服务监控菜单",
            "menuId": 112,
            "menuName": "服务监控",
            "parentId": 2,
            "orderNum": 4,
            "path": "server",
            "component": "monitor/server/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "C",
            "perms": "monitor:server:list",
            "icon": "server"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1010,
            "menuName": "角色删除",
            "parentId": 101,
            "orderNum": 4,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:role:remove",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1045,
            "menuName": "账户解锁",
            "parentId": 501,
            "orderNum": 4,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:logininfor:unlock",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1019,
            "menuName": "部门删除",
            "parentId": 103,
            "orderNum": 4,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:dept:remove",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1052,
            "menuName": "任务删除",
            "parentId": 110,
            "orderNum": 4,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:job:remove",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": "2025-04-24T03:24:47.000Z",
            "remark": "部门管理菜单",
            "menuId": 103,
            "menuName": "部门管理",
            "parentId": 1,
            "orderNum": 4,
            "path": "dept",
            "component": "system/dept/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "1",
            "menuType": "C",
            "perms": "system:dept:list",
            "icon": "tree"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": "2025-04-24T03:24:13.000Z",
            "remark": "nest-admin官网地址",
            "menuId": 4,
            "menuName": "nest-admin官网",
            "parentId": 0,
            "orderNum": 4,
            "path": "https://nest-admin.dooring.vip",
            "component": null,
            "query": "",
            "isFrame": "0",
            "isCache": "0",
            "visible": "1",
            "menuType": "M",
            "perms": "",
            "icon": "guide"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1028,
            "menuName": "字典删除",
            "parentId": 105,
            "orderNum": 4,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:dict:remove",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1058,
            "menuName": "导入代码",
            "parentId": 116,
            "orderNum": 4,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "tool:gen:import",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1029,
            "menuName": "字典导出",
            "parentId": 105,
            "orderNum": 5,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:dict:export",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1004,
            "menuName": "用户导出",
            "parentId": 100,
            "orderNum": 5,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:user:export",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1034,
            "menuName": "参数导出",
            "parentId": 106,
            "orderNum": 5,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:config:export",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "缓存监控菜单",
            "menuId": 113,
            "menuName": "缓存监控",
            "parentId": 2,
            "orderNum": 5,
            "path": "cache",
            "component": "monitor/cache/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "C",
            "perms": "monitor:cache:list",
            "icon": "redis"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1024,
            "menuName": "岗位导出",
            "parentId": 104,
            "orderNum": 5,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:post:export",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": "2025-04-24T03:24:44.000Z",
            "remark": "岗位管理菜单",
            "menuId": 104,
            "menuName": "岗位管理",
            "parentId": 1,
            "orderNum": 5,
            "path": "post",
            "component": "system/post/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "1",
            "menuType": "C",
            "perms": "system:post:list",
            "icon": "post"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1011,
            "menuName": "角色导出",
            "parentId": 101,
            "orderNum": 5,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:role:export",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1053,
            "menuName": "状态修改",
            "parentId": 110,
            "orderNum": 5,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:job:changeStatus",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1059,
            "menuName": "预览代码",
            "parentId": 116,
            "orderNum": 5,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "tool:gen:preview",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1005,
            "menuName": "用户导入",
            "parentId": 100,
            "orderNum": 6,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:user:import",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "缓存列表菜单",
            "menuId": 114,
            "menuName": "缓存列表",
            "parentId": 2,
            "orderNum": 6,
            "path": "cacheList",
            "component": "monitor/cache/list",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "C",
            "perms": "monitor:cache:list",
            "icon": "redis-list"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": "2025-04-24T03:24:40.000Z",
            "remark": "字典管理菜单",
            "menuId": 105,
            "menuName": "字典管理",
            "parentId": 1,
            "orderNum": 6,
            "path": "dict",
            "component": "system/dict/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "1",
            "menuType": "C",
            "perms": "system:dict:list",
            "icon": "dict"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1054,
            "menuName": "任务导出",
            "parentId": 110,
            "orderNum": 6,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "monitor:job:export",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1060,
            "menuName": "生成代码",
            "parentId": 116,
            "orderNum": 6,
            "path": "#",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "tool:gen:code",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "参数设置菜单",
            "menuId": 106,
            "menuName": "参数设置",
            "parentId": 1,
            "orderNum": 7,
            "path": "config",
            "component": "system/config/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "C",
            "perms": "system:config:list",
            "icon": "edit"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": "",
            "menuId": 1006,
            "menuName": "重置密码",
            "parentId": 100,
            "orderNum": 7,
            "path": "",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "0",
            "menuType": "F",
            "perms": "system:user:resetPwd",
            "icon": "#"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": "2025-04-24T03:24:35.000Z",
            "remark": "通知公告菜单",
            "menuId": 107,
            "menuName": "通知公告",
            "parentId": 1,
            "orderNum": 8,
            "path": "notice",
            "component": "system/notice/index",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "1",
            "menuType": "C",
            "perms": "system:notice:list",
            "icon": "message"
          },
          {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": "2025-04-24T03:24:28.000Z",
            "remark": "日志管理菜单",
            "menuId": 108,
            "menuName": "日志管理",
            "parentId": 1,
            "orderNum": 9,
            "path": "log",
            "component": "",
            "query": "",
            "isFrame": "1",
            "isCache": "0",
            "visible": "1",
            "menuType": "M",
            "perms": "",
            "icon": "log"
          }
        ]
      }
    );
    // 模拟异步返回数据
    setTimeout(() => {
      resolve(data); // 返回模拟数据
    }, 1000); // 1秒钟后返回数据
  })
}
export const listConfig = () => {
  return new Promise((resolve, reject) => {
    const data = Mock.mock(
      {
        "code": 200,
        "msg": "操作成功",
        "data": {
          "list": [
            // {
            //   "delFlag": "0",
            //   "status": "0",
            //   "createBy": "admin",
            //   "createTime": "2025-02-28T08:52:10.000Z",
            //   "updateBy": "",
            //   "updateTime": null,
            //   "remark": "蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow",
            //   "configId": 1,
            //   "configName": "主框架页-默认皮肤样式名称",
            //   "configKey": "sys.index.skinName",
            //   "configValue": "skin-blue",
            //   "configType": "Y"
            // },
            {
              "delFlag": "0",
              "status": "0",
              "createBy": "admin",
              "createTime": "2025-02-28T08:52:10.000Z",
              "updateBy": "",
              "updateTime": null,
              "remark": "初始化密码 123456",
              "configId": 2,
              "configName": "用户管理-账号初始密码",
              "configKey": "sys.user.initPassword",
              "configValue": "123456",
              "configType": "Y"
            },
            // {
            //   "delFlag": "0",
            //   "status": "0",
            //   "createBy": "admin",
            //   "createTime": "2025-02-28T08:52:10.000Z",
            //   "updateBy": "",
            //   "updateTime": null,
            //   "remark": "深色主题theme-dark，浅色主题theme-light",
            //   "configId": 3,
            //   "configName": "主框架页-侧边栏主题",
            //   "configKey": "sys.index.sideTheme",
            //   "configValue": "theme-dark",
            //   "configType": "Y"
            // },
            // {
            //   "delFlag": "0",
            //   "status": "0",
            //   "createBy": "admin",
            //   "createTime": "2025-02-28T08:52:10.000Z",
            //   "updateBy": "",
            //   "updateTime": null,
            //   "remark": "是否开启验证码功能（true开启，false关闭）",
            //   "configId": 4,
            //   "configName": "账号自助-验证码开关",
            //   "configKey": "sys.account.captchaEnabled",
            //   "configValue": "true",
            //   "configType": "Y"
            // },
            // {
            //   "delFlag": "0",
            //   "status": "0",
            //   "createBy": "admin",
            //   "createTime": "2025-02-28T08:52:10.000Z",
            //   "updateBy": "",
            //   "updateTime": null,
            //   "remark": "是否开启注册用户功能（true开启，false关闭）",
            //   "configId": 5,
            //   "configName": "账号自助-是否开启用户注册功能",
            //   "configKey": "sys.account.registerUser",
            //   "configValue": "false",
            //   "configType": "Y"
            // },
            // {
            //   "delFlag": "0",
            //   "status": "0",
            //   "createBy": "admin",
            //   "createTime": "2025-02-28T08:52:10.000Z",
            //   "updateBy": "",
            //   "updateTime": null,
            //   "remark": "设置登录IP黑名单限制，多个匹配项以;分隔，支持匹配（*通配、网段）",
            //   "configId": 6,
            //   "configName": "用户登录-黑名单列表",
            //   "configKey": "sys.login.blackIPList",
            //   "configValue": "",
            //   "configType": "Y"
            // },
            {
              "delFlag": "0",
              "status": "0",
              "createBy": "admin",
              "createTime": "2025-04-24T03:12:06.748Z",
              "updateBy": "",
              "updateTime": "2025-04-24T03:12:06.748Z",
              "remark": "dev prod",
              "configId": 100,
              "configName": "环境切换",
              "configKey": "env",
              "configValue": "dev",
              "configType": "N"
            },
            {
              "delFlag": "0",
              "status": "0",
              "createBy": "admin",
              "createTime": "2025-04-24T03:13:42.186Z",
              "updateBy": "",
              "updateTime": "2025-04-24T03:13:42.186Z",
              "remark": "公告内容",
              "configId": 101,
              "configName": "系统公告",
              "configKey": "SystemAnnouncement",
              "configValue": "2025年5月1日正式上线！",
              "configType": "Y"
            },
            {
              "delFlag": "0",
              "status": "0",
              "createBy": "admin",
              "createTime": "2025-04-24T03:14:33.377Z",
              "updateBy": "",
              "updateTime": "2025-04-24T03:14:33.377Z",
              "remark": "icu当前价格可编辑",
              "configId": 102,
              "configName": "ico兑换价格",
              "configKey": "icuPrice",
              "configValue": "0.6",
              "configType": "Y"
            }
          ],
          "total": 9
        }
      }
    );
    // 模拟异步返回数据
    setTimeout(() => {
      resolve(data); // 返回模拟数据
    }, 1000); // 1秒钟后返回数据
  })
}
export const getCodeImg = () => {
  return new Promise((resolve, reject) => {
    const data = Mock.mock(
      {
        "code": 200,
        "msg": "操作成功",
        "data": {
          "captchaEnabled": true,
          "img": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100\" height=\"40\" viewBox=\"0,0,100,40\"><rect width=\"100%\" height=\"100%\" fill=\"#ffffff\"/><path d=\"M16 1 C52 15,45 36,93 7\" stroke=\"#df9143\" fill=\"none\"/><path fill=\"#6a6ae5\" d=\"M70.62 33.75L70.64 33.77L70.65 33.78Q70.92 34.79 71.50 36.95L71.54 37.00L71.51 36.97Q67.06 35.61 62.12 35.90L62.10 35.88L62.07 35.85Q57.27 36.23 52.99 38.35L52.88 38.24L52.87 38.23Q53.22 37.60 53.26 37.68L53.32 37.74L53.17 37.59Q57.33 33.52 61.54 28.79L61.35 28.60L61.35 28.60Q66.24 23.41 67.50 18.40L67.51 18.40L67.41 18.30Q67.98 16.51 66.61 15.24L66.54 15.17L66.47 15.10Q65.20 13.93 63.28 14.09L63.36 14.17L63.23 14.04Q62.86 14.00 62.49 14.00L62.56 14.06L62.52 14.02Q60.97 14.11 59.62 15.09L59.50 14.96L59.60 15.06Q58.27 16.59 58.51 19.44L58.46 19.38L58.33 19.26Q56.42 18.90 55.12 18.41L55.29 18.59L55.29 18.58Q54.96 16.95 54.88 15.40L54.98 15.50L54.99 15.51Q54.74 13.59 55.39 12.36L55.48 12.45L55.44 12.41Q57.42 11.00 61.01 11.00L60.91 10.90L62.86 10.98L62.88 11.00Q65.25 10.97 66.27 11.09L66.36 11.17L66.32 11.14Q71.06 11.67 71.34 14.28L71.20 14.14L71.30 14.24Q71.29 14.76 71.21 15.62L71.28 15.69L71.24 15.64Q71.28 16.43 71.12 17.16L71.01 17.05L71.09 17.13Q69.35 25.83 61.23 33.17L61.23 33.17L61.10 33.05Q62.80 33.07 64.27 33.07L64.11 32.91L64.14 32.94Q67.57 32.90 70.62 33.75ZM70.14 11.57L70.17 11.60L70.18 11.61Q68.32 10.77 66.49 10.69L66.46 10.67L62.96 10.63L62.89 10.57Q58.07 10.23 55.71 11.42L55.80 11.50L55.80 11.50Q54.60 12.91 54.60 15.12L54.56 15.08L54.66 15.18Q54.67 15.93 55.00 18.94L54.96 18.90L54.96 18.90Q55.48 19.10 56.75 19.43L56.88 19.56L56.85 20.63L56.86 20.64Q56.71 21.03 56.80 21.60L56.85 21.65L56.82 21.62Q58.10 21.68 60.75 21.92L60.76 21.93L60.82 21.99Q60.73 21.53 60.73 21.16L60.84 21.28L60.85 21.29Q60.77 19.25 62.07 17.80L62.02 17.74L62.06 17.79Q63.47 16.44 65.39 16.57L65.37 16.55L65.24 16.42Q66.05 16.45 66.86 16.61L67.03 16.78L66.97 16.72Q66.98 17.02 67.07 17.47L67.15 17.55L67.22 17.63Q67.14 17.95 67.06 18.32L67.17 18.43L67.02 18.28Q65.85 23.56 61.12 28.74L60.94 28.56L60.94 28.56Q58.71 31.02 52.88 37.51L52.83 37.45L52.93 37.56Q52.68 38.41 52.31 39.02L52.35 39.06L52.25 38.96Q54.10 38.15 55.73 37.58L55.68 37.54L55.66 37.51Q54.92 38.16 53.90 39.75L53.89 39.73L53.79 39.64Q53.82 40.16 53.70 40.53L53.59 40.42L53.67 40.50Q58.80 38.21 64.68 38.41L64.67 38.40L64.65 38.39Q70.92 38.74 75.81 41.27L75.75 41.21L74.60 38.83L74.73 38.96Q73.96 37.45 73.67 36.60L73.70 36.63L73.61 36.54Q72.87 36.13 71.57 35.68L71.56 35.67L71.69 35.80Q71.48 34.98 71.07 33.51L70.93 33.37L71.08 33.51Q68.56 32.75 66.11 32.55L66.26 32.70L66.21 32.64Q71.26 27.79 72.90 18.94L72.88 18.92L73.11 15.85L73.07 15.80Q73.01 13.91 71.70 13.17L71.68 13.15L71.65 13.16L71.72 13.24Q71.54 13.01 71.45 13.01L71.56 13.12L71.57 13.13Q71.34 12.24 70.16 11.59Z\"/><path fill=\"#e9a690\" d=\"M79.13 18.22L79.12 18.21L79.25 18.34Q75.80 18.31 73.84 17.17L73.87 17.20L73.80 17.13Q76.60 15.77 81.82 11.24L81.72 11.14L81.74 11.16Q82.45 10.89 83.83 10.24L83.96 10.36L83.92 10.32Q82.55 16.74 82.42 23.55L82.33 23.46L82.43 23.56Q82.17 30.23 83.31 36.76L83.35 36.80L83.31 36.75Q81.63 36.10 79.35 35.97L79.36 35.98L79.23 35.86Q79.12 31.42 79.12 27.06L79.21 27.15L79.09 27.03Q79.09 22.63 79.13 18.22ZM78.76 20.66L78.77 36.30L78.75 36.27Q80.06 36.28 81.08 36.49L81.11 36.52L81.02 36.43Q81.25 37.31 81.46 38.78L81.44 38.76L81.36 38.68Q84.49 39.32 87.10 41.73L87.15 41.77L87.09 41.72Q84.49 34.14 84.45 26.15L84.34 26.04L84.35 26.05Q84.36 18.15 86.32 10.40L86.34 10.42L86.19 10.26Q85.63 10.73 83.92 11.91L84.04 12.03L84.01 12.01Q84.19 11.17 84.52 9.54L84.48 9.49L84.48 9.49Q83.00 10.25 81.45 10.66L81.57 10.79L81.49 10.71Q77.50 14.59 72.89 17.03L72.96 17.11L72.80 16.95Q74.39 18.21 76.92 18.57L76.88 18.53L76.88 18.54Q76.13 19.06 74.75 20.20L74.86 20.32L74.86 20.31Q76.44 20.70 78.80 20.70L78.81 20.72Z\"/><path d=\"M4 38 C46 4,40 31,89 35\" stroke=\"#4de99b\" fill=\"none\"/><path fill=\"#d69351\" d=\"M47.48 35.55L47.46 35.53L47.40 35.47Q46.62 35.38 45.89 35.42L45.95 35.49L46.04 35.58Q45.12 35.51 44.39 35.51L44.36 35.49L44.46 35.59Q44.96 31.93 44.96 28.26L44.99 28.28L45.01 28.31Q42.92 28.22 41.94 28.22L42.08 28.36L42.10 28.38Q41.04 28.22 39.08 28.13L39.05 28.10L39.08 28.13Q39.24 27.97 39.04 25.32L38.91 25.19L38.96 25.24Q41.71 25.82 44.89 25.82L44.91 25.85L44.84 25.77Q44.64 21.13 44.19 18.35L44.25 18.41L44.19 18.35Q45.11 18.54 45.97 18.54L45.83 18.40L47.62 18.44L47.73 18.54Q47.36 22.99 47.36 25.77L47.43 25.83L47.48 25.88Q49.64 25.72 53.07 25.35L53.22 25.51L53.06 25.34Q53.03 26.87 53.03 28.17L53.05 28.19L53.01 28.15Q52.75 28.17 51.89 28.21L51.85 28.17L51.97 28.29Q50.88 28.26 50.23 28.30L50.07 28.14L50.25 28.33Q50.18 28.25 47.32 28.25L47.29 28.22L47.34 31.94L47.37 31.97Q47.35 33.70 47.47 35.54ZM53.50 24.81L53.57 24.88L53.60 24.91Q51.50 25.17 49.50 25.26L49.47 25.22L49.55 25.30Q49.87 21.99 50.32 19.99L50.33 20.00L50.31 19.98Q49.46 19.95 47.95 20.11L48.03 20.19L48.23 17.98L48.23 17.98Q45.45 18.02 43.65 17.90L43.58 17.82L43.68 17.92Q44.22 21.20 44.43 25.36L44.42 25.35L44.36 25.30Q42.49 25.25 38.53 24.60L38.46 24.53L38.49 24.56Q38.88 25.93 38.88 28.75L38.83 28.69L40.47 28.70L40.51 28.75Q40.38 29.39 40.22 30.90L40.29 30.97L44.56 30.71L44.55 30.71Q44.31 34.09 43.98 36.05L43.91 35.98L43.97 36.04Q44.82 36.07 46.33 35.95L46.24 35.86L46.19 35.81Q46.32 36.67 46.28 38.10L46.29 38.11L46.24 38.07Q46.89 38.14 50.77 38.31L50.66 38.20L50.60 38.14Q49.81 35.03 49.57 30.78L49.50 30.72L49.54 30.75Q52.94 30.69 55.19 31.10L55.34 31.26L55.24 31.15Q55.08 30.18 55.08 29.16L55.05 29.13L55.16 27.20L55.09 27.13Q54.89 27.17 54.32 27.21L54.27 27.17L53.37 27.12L53.47 27.23Q53.46 26.36 53.59 24.89Z\"/><path fill=\"#43e996\" d=\"M29.50 24.44L29.55 24.49L29.52 24.46Q27.56 24.34 26.24 25.87L26.10 25.74L26.10 25.73Q24.87 27.35 24.66 29.39L24.65 29.38L24.61 29.34Q24.31 31.49 25.47 32.53L25.60 32.65L25.61 32.67Q26.65 33.58 28.89 33.46L28.90 33.47L28.92 33.49Q31.23 33.39 32.41 32.65L32.50 32.74L32.33 32.58Q33.60 31.44 33.60 29.77L33.60 29.77L33.59 29.75Q33.61 29.36 33.53 28.96L33.62 29.05L33.45 28.88Q33.58 27.13 32.39 25.68L32.41 25.70L32.42 25.71Q31.34 24.36 29.54 24.48ZM29.07 36.37L28.92 36.22L28.98 36.28Q24.40 36.39 22.89 35.58L22.75 35.43L22.74 35.42Q21.62 34.59 21.42 32.76L21.44 32.78L21.47 32.81Q21.44 32.09 21.49 31.31L21.41 31.24L21.49 31.32Q21.57 30.21 21.57 29.72L21.68 29.84L21.58 29.73Q22.08 26.69 22.25 25.96L22.25 25.96L22.25 25.96Q22.85 23.99 23.74 22.48L23.59 22.32L23.59 22.33Q26.58 17.77 32.95 10.96L32.91 10.93L32.81 10.82Q35.69 10.52 38.06 9.67L38.07 9.68L38.20 9.80Q30.74 17.69 27.31 22.21L27.33 22.23L27.33 22.23Q28.32 21.62 29.70 21.62L29.73 21.65L29.81 21.74Q33.41 21.78 35.04 23.86L34.96 23.78L34.99 23.81Q36.34 25.49 36.71 29.28L36.79 29.36L36.67 29.25Q36.90 30.17 36.90 30.82L36.81 30.73L36.89 30.81Q36.87 34.14 34.51 35.28L34.41 35.18L34.44 35.21Q33.20 35.93 29.04 36.34ZM31.44 38.87L31.41 38.83L31.53 38.95Q32.92 38.91 35.04 38.99L35.02 38.97L34.94 38.89Q36.71 38.99 38.38 38.22L38.45 38.29L38.33 38.17Q39.64 37.44 39.64 35.52L39.53 35.40L39.67 35.55Q39.62 34.97 39.44 33.91L39.34 33.81L39.35 33.82Q39.26 32.85 39.26 32.36L39.16 32.27L39.20 32.30Q38.18 27.17 36.47 25.13L36.48 25.14L36.55 25.21Q36.54 25.16 36.38 24.91L36.42 24.95L35.99 24.61L35.99 24.65L35.97 24.63Q35.53 24.02 34.88 23.00L34.98 23.11L34.93 23.06Q33.89 21.98 31.77 21.49L31.74 21.46L31.80 21.52Q33.14 19.84 36.32 15.89L36.29 15.85L40.72 10.08L40.73 10.09Q39.09 11.06 36.52 11.88L36.65 12.01L36.59 11.95Q37.52 10.84 39.44 8.72L39.56 8.84L39.54 8.82Q36.84 9.83 32.68 10.44L32.66 10.43L32.83 10.60Q26.68 16.89 23.50 22.19L23.40 22.09L23.34 22.03Q21.86 24.88 21.25 31.57L21.13 31.45L21.22 31.54Q21.07 32.08 21.15 33.10L21.10 33.05L21.09 33.04Q21.31 35.06 22.50 36.04L22.51 36.05L22.50 36.04Q22.78 36.08 22.74 36.12L22.80 36.18L22.89 36.26Q23.23 37.18 24.09 37.63L24.14 37.68L24.02 37.56Q25.62 38.35 27.70 38.55L27.71 38.55L27.73 38.58Q27.71 38.56 31.46 38.88ZM31.30 26.93L31.13 26.76L31.19 26.82Q31.89 26.79 32.91 27.32L32.79 27.20L32.89 27.30Q33.15 28.22 33.15 28.91L33.30 29.05L33.12 28.87Q33.43 30.98 32.41 32.04L32.42 32.05L32.37 32.00Q31.18 32.73 28.94 33.06L28.93 33.05L28.98 33.10Q27.46 33.13 26.89 32.85L26.86 32.82L26.82 32.77Q26.62 32.29 26.62 31.96L26.67 32.01L26.79 32.13Q26.52 28.60 29.66 27.22L29.61 27.16L29.52 27.07Q30.37 26.74 31.18 26.82Z\"/><path fill=\"#e28282\" d=\"M9.60 36.35L9.63 36.38L9.70 36.45Q8.13 36.47 6.45 36.02L6.60 36.17L6.54 36.11Q5.28 35.18 5.12 33.42L4.96 33.27L5.03 33.33Q4.94 33.08 5.14 30.26L5.18 30.30L5.27 30.39Q6.38 30.20 8.54 29.79L8.46 29.71L8.27 30.53L8.16 30.43Q7.94 32.37 9.45 32.98L9.43 32.96L9.57 33.11Q10.37 33.41 12.61 33.41L12.56 33.36L12.59 33.38Q14.36 33.28 14.57 33.20L14.40 33.04L14.45 33.08Q15.44 32.94 16.22 32.41L16.29 32.47L16.30 32.49Q17.68 31.34 17.48 29.10L17.52 29.14L17.64 29.26Q17.30 26.51 15.44 24.84L15.57 24.97L15.47 24.87Q13.56 23.14 10.91 23.14L11.08 23.31L11.06 23.05L10.94 22.93Q11.45 22.99 12.39 22.91L12.37 22.89L12.24 22.76Q14.43 22.79 15.90 21.46L15.77 21.33L15.75 21.31Q17.39 20.16 17.55 18.16L17.41 18.02L17.43 18.03Q17.65 17.80 17.65 17.44L17.49 17.28L17.56 17.35Q17.52 15.68 16.06 14.71L16.00 14.65L16.06 14.71Q14.80 13.90 13.09 14.02L13.10 14.04L13.05 13.98Q11.65 13.81 10.35 14.26L10.44 14.35L10.45 14.36Q8.89 14.92 8.56 16.14L8.59 16.18L8.43 16.01Q8.29 16.89 8.37 17.71L8.41 17.75L8.39 17.73Q7.32 17.52 5.12 16.74L5.11 16.73L5.06 16.68Q4.79 14.86 4.83 13.96L4.88 14.01L4.80 13.93Q5.07 12.45 6.21 11.72L6.19 11.69L6.18 11.68Q7.62 10.96 9.34 10.96L9.32 10.95L9.44 11.07Q12.78 10.98 16.17 11.27L16.11 11.22L16.14 11.24Q21.62 11.75 21.30 15.79L21.29 15.78L21.17 15.66Q21.14 17.30 20.61 18.97L20.60 18.96L20.54 18.90Q19.54 22.19 17.01 23.17L17.04 23.19L17.07 23.22Q19.97 23.88 20.62 27.47L20.51 27.36L20.63 27.48Q20.83 28.66 20.91 30.82L20.93 30.84L20.88 30.79Q21.06 35.58 16.13 36.07L16.14 36.08L16.17 36.11Q15.43 36.23 9.76 36.51ZM15.32 38.89L15.24 38.81L15.32 38.89Q15.83 38.79 18.89 38.87L18.98 38.97L18.97 38.95Q20.93 39.11 22.68 38.42L22.63 38.37L22.69 38.43Q23.93 37.38 23.72 35.51L23.72 35.51L23.76 35.54Q23.55 34.03 23.22 32.15L23.23 32.16L23.21 32.14Q22.50 27.39 20.42 25.64L20.40 25.61L20.24 25.25L20.10 25.07L20.20 25.18Q21.92 23.46 22.73 18.77L22.80 18.84L22.83 18.87Q22.88 18.39 23.00 17.37L22.92 17.29L23.01 17.37Q23.14 16.61 23.06 15.88L23.00 15.82L22.93 15.75Q22.79 13.98 21.40 13.24L21.52 13.36L21.39 13.31L21.41 13.33Q21.00 12.18 19.77 11.61L19.85 11.69L19.78 11.62Q18.10 10.84 12.59 10.51L12.73 10.64L12.71 10.63Q10.78 10.41 9.07 10.41L9.10 10.44L9.19 10.53Q7.43 10.48 5.79 11.17L5.81 11.19L5.75 11.13Q4.43 11.93 4.43 13.81L4.60 13.98L4.55 13.92Q4.44 13.36 4.72 16.95L4.74 16.97L4.70 16.94Q5.10 17.09 6.86 17.74L6.82 17.71L6.86 17.74Q6.86 18.32 6.82 18.85L6.78 18.80L6.76 18.79Q6.82 19.38 6.86 19.95L6.83 19.92L6.88 19.97Q8.76 20.34 10.93 20.47L10.95 20.49L10.90 20.44Q10.83 18.29 12.01 17.39L12.06 17.44L12.08 17.46Q12.93 16.72 15.09 16.47L15.05 16.43L15.12 16.50Q16.28 16.44 16.89 16.65L16.95 16.70L17.01 16.76Q16.89 16.72 16.93 16.85L17.06 16.97L17.06 17.18L17.06 17.67L17.18 17.78Q17.18 17.99 17.14 18.16L17.01 18.03L17.10 18.11Q16.94 19.87 15.30 21.13L15.38 21.21L15.48 21.31Q14.32 22.11 12.16 22.31L12.34 22.50L12.28 22.44Q11.57 22.66 10.63 22.66L10.64 22.67L10.44 22.47Q10.51 22.86 10.67 23.60L10.65 23.58L10.76 23.68Q12.68 23.73 14.23 24.51L14.26 24.54L14.12 24.51L12.38 24.65L12.39 24.67Q12.41 25.00 12.53 25.66L12.47 25.60L12.47 25.60Q14.82 25.58 16.65 27.01L16.58 26.94L16.61 26.97Q16.97 27.49 17.30 29.25L17.27 29.22L17.27 29.22Q17.38 32.26 14.24 32.71L14.36 32.83L14.30 32.77Q12.00 33.01 11.39 32.97L11.45 33.02L11.44 33.01Q10.99 32.93 10.42 32.85L10.38 32.81L10.47 32.41L10.49 31.81L10.46 31.34L10.65 31.16L10.51 31.02Q9.49 31.11 8.64 31.31L8.63 31.31L8.74 31.41Q8.60 31.07 8.60 30.86L8.59 30.85L8.69 30.96Q8.70 30.72 8.70 30.48L8.75 30.53L8.61 30.39Q8.80 30.08 8.96 29.31L8.95 29.30L8.96 29.31Q7.01 29.60 5.01 29.97L4.91 29.87L4.94 29.90Q5.00 30.49 4.88 31.70L4.88 31.69L4.81 31.62Q4.68 32.82 4.68 33.47L4.61 33.40L4.61 33.41Q4.80 35.71 6.27 36.53L6.22 36.48L6.27 36.53Q7.78 38.90 12.84 38.69L12.92 38.77L12.88 38.74Q13.70 38.73 15.33 38.90Z\"/></svg>",
          "uuid": "6cf0115d97b3429e8f3f96669f475171"
        }
      }
    );
    // 模拟异步返回数据
    setTimeout(() => {
      resolve(data); // 返回模拟数据
    }, 1000); // 1秒钟后返回数据
  })
}
export const getRegisterUser = () => {
  return new Promise((resolve, reject) => {
    const data = Mock.mock(
      {
        "code": 200,
        "msg": "操作成功",
        "data": null
      }
    );
    // 模拟异步返回数据
    setTimeout(() => {
      resolve(data); // 返回模拟数据
    }, 1000); // 1秒钟后返回数据
  })
}


export const login = () => {
  return new Promise((resolve, reject) => {
    const data = Mock.mock(
      {
        "code": 200,
        "msg": "登录成功",
        "data": {
          "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1dWlkIjoiOTk4MTM0NjI1ZDFmNGE5ZGFiNmFmOTY1ZjM2OWIzNzQiLCJ1c2VySWQiOjEsImlhdCI6MTc0NTQ2ODEzOH0.q14lRuMrsERSYCI5y5iNthFzmEGMzaUZDA4MRgVWTOU"
        }
      }
    );
    // 模拟异步返回数据
    setTimeout(() => {
      resolve(data); // 返回模拟数据
    }, 1000); // 1秒钟后返回数据
  })
}

export const getUserProfile = () => {
  return new Promise((resolve, reject) => {
    const data = Mock.mock(
      {
        "code": 200,
        "msg": "操作成功",
        "data": {
          "delFlag": "0",
          "status": "0",
          "createBy": "admin",
          "createTime": "2025-02-28T08:52:10.000Z",
          "updateBy": "",
          "updateTime": "2025-04-24T03:16:14.000Z",
          "remark": "管理员",
          "userId": 1,
          "deptId": 103,
          "userName": "admin",
          "nickName": "nest-admin",
          "userType": "00",
          "email": "ry@163.com",
          "phonenumber": "15888888888",
          "sex": "1",
          "avatar": "",
          "password": "$2b$10$d4Z9Iq.v9J4pjX55I9mzRuPHsOMKLupOqxlb/UfbD9oYsYxd5ezeS",
          "loginIp": "39.170.105.112",
          "loginDate": "2025-04-24T03:16:15.000Z",
          "dept": {
            "delFlag": "0",
            "status": "0",
            "createBy": "admin",
            "createTime": "2025-02-28T08:52:10.000Z",
            "updateBy": "",
            "updateTime": null,
            "remark": null,
            "deptId": 103,
            "parentId": 101,
            "ancestors": "0,100,101",
            "deptName": "研发部门",
            "orderNum": 1,
            "leader": "nest-admin",
            "phone": "15888888888",
            "email": "ry@qq.com"
          },
          "roles": [
            {
              "delFlag": "0",
              "status": "1",
              "createBy": "admin",
              "createTime": "2025-02-28T08:52:10.000Z",
              "updateBy": "",
              "updateTime": "2025-04-22T02:56:28.000Z",
              "remark": "超级管理员",
              "roleId": 1,
              "roleName": "超级管理员",
              "roleSort": 1,
              "roleKey": "admin",
              "dataScope": "1",
              "menuCheckStrictly": true,
              "deptCheckStrictly": true
            }
          ],
          "posts": [
            {
              "delFlag": "0",
              "status": "0",
              "createBy": "admin",
              "createTime": "2025-02-28T08:52:10.000Z",
              "updateBy": "",
              "updateTime": null,
              "remark": "",
              "postId": 1,
              "postCode": "ceo",
              "postName": "董事长",
              "postSort": 1
            }
          ],
          "deptName": "研发部门"
        }
      }
    );
    // 模拟异步返回数据
    setTimeout(() => {
      resolve(data); // 返回模拟数据
    }, 1000); // 1秒钟后返回数据
  })
}
export const logout = () => {
  return new Promise((resolve, reject) => {
    const data = Mock.mock(
      {
        "code": 200,
        "msg": "登录成功",
        "data": {
          "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1dWlkIjoiOTk4MTM0NjI1ZDFmNGE5ZGFiNmFmOTY1ZjM2OWIzNzQiLCJ1c2VySWQiOjEsImlhdCI6MTc0NTQ2ODEzOH0.q14lRuMrsERSYCI5y5iNthFzmEGMzaUZDA4MRgVWTOU"
        }
      }
    );
    // 模拟异步返回数据
    setTimeout(() => {
      resolve(data); // 返回模拟数据
    }, 1000); // 1秒钟后返回数据
  })
}


export const configconfig = () => {
  return new Promise((resolve, reject) => {
    const data = Mock.mock(
      {
        "code": 200,
        "message": "success",
        "data": [
          {
            "id": 1,
            "key": "code-D",
            "value": "300,50",
            "type": "price,amount",
            "env": "test",
            "created_at": "2025-04-14T03:24:59.741Z"
          },
          {
            "id": 3,
            "key": "code-C",
            "value": "200,100",
            "type": "price,amount",
            "env": "test",
            "created_at": "2025-04-14T04:21:04.680Z"
          },
          {
            "id": 4,
            "key": "code-B",
            "value": "100,200",
            "type": "price,amount",
            "env": "test",
            "created_at": "2025-04-14T04:21:11.724Z"
          },
          {
            "id": 5,
            "key": "G_URL",
            "value": "https://giveaway.com/zh-CN/aU1kD97dVkP",
            "type": "airdrop",
            "env": "test",
            "created_at": "2025-04-14T04:21:21.682Z"
          },
          {
            "id": 6,
            "key": "PROGRAM_F",
            "value": "BLJWGTCo2ePjmfs9zf4Adi5tFGTwaKCVQWJ9nhqLEJm1",
            "type": "PROGRAM_F",
            "env": "test",
            "created_at": "2025-04-14T04:21:25.026Z"
          },
          {
            "id": 7,
            "key": "PROGRAM_C",
            "value": "FE6dV96uvuuwWfq3HFSnpw5Z7PSqF4virjcFsYjtuqim",
            "type": "PROGRAM_C",
            "env": "test",
            "created_at": "2025-04-14T04:21:29.635Z"
          },
          {
            "id": 8,
            "key": "PROGRAM_D",
            "value": "66QSgeJ1SP9PzfWh3x4YpksEumaL75nMPiY6LPz5esko",
            "type": "PROGRAM_D",
            "env": "test",
            "created_at": "2025-04-14T04:21:35.215Z"
          },
          {
            "id": 9,
            "key": "PROGRAM_B",
            "value": "66QSgeJ1SP9PzfWh3x4YpksEumaL75nMPiY6LPz5esko",
            "type": "PROGRAM_B",
            "env": "test",
            "created_at": "2025-04-14T04:21:38.844Z"
          },
          {
            "id": 10,
            "key": "PROGRAM_A",
            "value": "8SrMytprru7dB7bYNxA4HxVyngRvBHN6xZPX93uKxq2Q",
            "type": "PROGRAM_A",
            "env": "test",
            "created_at": "2025-04-14T04:21:41.508Z"
          },
          {
            "id": 11,
            "key": "totalG",
            "value": "2000000",
            "type": "totalG",
            "env": "test",
            "created_at": "2025-04-14T04:21:44.042Z"
          },
          {
            "id": 12,
            "key": "totalF",
            "value": "300",
            "type": "totalF",
            "env": "test",
            "created_at": "2025-04-14T04:21:47.029Z"
          },
          {
            "id": 13,
            "key": "totalD",
            "value": "3000000",
            "type": "totalD",
            "env": "test",
            "created_at": "2025-04-14T04:21:49.580Z"
          },
          {
            "id": 14,
            "key": "totalC",
            "value": "2000000",
            "type": "totalC",
            "env": "test",
            "created_at": "2025-04-14T04:21:53.089Z"
          },
          {
            "id": 15,
            "key": "totalB",
            "value": "5000000",
            "type": "totalB",
            "env": "test",
            "created_at": "2025-04-14T04:21:55.682Z"
          },
          {
            "id": 16,
            "key": "mintAddress",
            "value": "3AW5ijSzMQ9KdjBPwizMfkudrFSHUN9mNP21nbLdYU4o",
            "type": "mintAddress",
            "env": "test",
            "created_at": "2025-04-14T04:22:00.308Z"
          },
          {
            "id": 17,
            "key": "RPC",
            "value": "https://devnet.helius-rpc.com/?api-key=2fadc3bb-fda2-4c57-af9d-8a164f73f022",
            "type": "RPC",
            "env": "test",
            "created_at": "2025-04-14T04:22:19.990Z"
          },
          {
            "id": 18,
            "key": "SOLANA_PAYER_SECRET",
            "value": "915ac1c68800064085973150e66d8fd7:6a430d2d705ad21fd0b44fe8ccc604b5e8eef7c8af097f24a59102ebf6f13a925015faa740aaf0475f87cbc21617b6cf58079ec390f2923e7881f36e9061fd986f8e6236514cc1e995984bfd53358d9702599fc114d606d00ea612b53dbb4a98",
            "type": "private",
            "env": "test",
            "created_at": "2025-04-14T04:23:06.759Z"
          },
          {
            "id": 19,
            "key": "env",
            "value": "test",
            "type": "env",
            "env": "env",
            "created_at": "2025-04-14T06:05:06.681Z"
          },
          {
            "id": 20,
            "key": "B_ADDRESS",
            "value": "8yfjwVTMvBmP1n2dTQB1CZbNegN9xpsmtWtXHAk4iLPW",
            "type": "B_ADDRESS",
            "env": "test",
            "created_at": "2025-04-14T08:08:47.386Z"
          },
          {
            "id": 21,
            "key": "usdt",
            "value": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
            "type": "usdt",
            "env": "test",
            "created_at": "2025-04-14T10:55:59.119Z"
          },
          {
            "id": 22,
            "key": "payee",
            "value": "2WfvcwpmbLS4fAKgHsNwYTUSi7j2zd6Sh2bgiqqJn2BY",
            "type": "payee",
            "env": "test",
            "created_at": "2025-04-14T12:00:24.865Z"
          },
          {
            "id": 23,
            "key": "cxc_price",
            "value": "0.6",
            "type": "cxc/usdt",
            "env": "test",
            "created_at": "2025-04-16T03:10:16.332Z"
          },
          {
            "id": 24,
            "key": "cxc_remain_address",
            "value": "2WfvcwpmbLS4fAKgHsNwYTUSi7j2zd6Sh2bgiqqJn2BY",
            "type": "cxc_remain_address",
            "env": "test",
            "created_at": "2025-04-16T07:34:02.757Z"
          },
          {
            "id": 25,
            "key": "REDIS_URL",
            "value": "redis://localhost:6379",
            "type": "REDIS_URL",
            "env": "test",
            "created_at": "2025-04-16T08:15:37.288Z"
          },
          {
            "id": 26,
            "key": "REDIS_URL",
            "value": "redis://localhost:6379",
            "type": "REDIS_URL",
            "env": "prod",
            "created_at": "2025-04-16T08:17:05.086Z"
          },
          {
            "id": 27,
            "key": "airdrop_wallet",
            "value": "2WfvcwpmbLS4fAKgHsNwYTUSi7j2zd6Sh2bgiqqJn2BY",
            "type": "airdrop_wallet",
            "env": "test",
            "created_at": "2025-04-21T13:05:10.207Z"
          },
          {
            "id": 28,
            "key": "usdc",
            "value": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
            "type": "usdc",
            "env": "test",
            "created_at": "2025-04-22T06:20:06.491Z"
          },
          {
            "id": 29,
            "key": "model",
            "value": "oppo",
            "type": "model",
            "env": "test",
            "created_at": "2025-04-22T10:47:18.448Z"
          },
          {
            "id": 30,
            "key": "code-phone",
            "value": "400,10",
            "type": "price,amount",
            "env": "test",
            "created_at": "2025-04-23T07:57:22.084Z"
          },
          {
            "id": 31,
            "key": "SOLANA_PAYER_SECRET",
            "value": "989cd8dff89e2e475a352c208f8176f6:893f427318c090f6cbf1c8ebd78d137e9055f2c52b6e24c48933a7d857079346d4221e970ac22998a52691826bbe845887fe6ec946059d4c3c76686c4326f13c0fc21a1f5586067d49cc1c9d62518c426a649db7b973649a9865e8cb2e83d0b2",
            "type": "private",
            "env": "prod",
            "created_at": "2025-04-24T08:35:20.209Z"
          },
          {
            "id": 32,
            "key": "RPC",
            "value": "https://mainnet.helius-rpc.com/?api-key=2fadc3bb-fda2-4c57-af9d-8a164f73f022",
            "type": "RPC",
            "env": "prod",
            "created_at": "2025-04-24T08:59:18.258Z"
          }
        ]
      }
    );
    // 模拟异步返回数据
    setTimeout(() => {
      resolve(data); // 返回模拟数据
    }, 1000); // 1秒钟后返回数据
  })
}



